<template>
  <el-dialog v-model:model-value="showDialog" title="操作详情" destroy-on-close>
    <el-form-item label="操作参数">
      <el-input type="textarea" v-model="rowData.param" autosize></el-input>
<!--      {{rowData.param}}-->
    </el-form-item>

    <el-form-item label="操作结果">
      <el-input type="textarea" v-model="rowData.result" autosize></el-input>
<!--      {{rowData.result}}-->
    </el-form-item>
  </el-dialog>
</template>

<script lang="ts" setup>
const props = defineProps<{
  show: boolean,
  rowData: any
}>()
const emits = defineEmits(['update:show'])

const showDialog = computed({
  set(newValue) {
    emits("update:show", newValue)
  },
  get() {
    return props.show
  }
})


</script>

<style scoped lang="scss">

</style>
